//引入文件
let user = require('./user');
let vip1 = require('./VipOne');
let vip2 = require('./VipTwo');

//实例化对象 并且输入值
let NewUser = new user('张三','男',25)
NewUser.login();
NewUser.register();

console.log('------------------用户区别线--------------------')
//测试vip用户数据
let NewVip = new vip1('王五',25,'9');
NewVip.login();
NewVip.register();
NewVip.price();

console.log('------------------用户区别线--------------------')
//测试vip2用户数据
let NewVip2 = new vip2('李四',80,'8.8','玩具');
NewVip2.login();
NewVip2.register();